package com.yycwxt.modules.admin.data_import;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class AccountData {

    public static int getAccountDate() {
        String zq = LocalDateTime.now().minusMonths(1).format(DateTimeFormatter.ofPattern("YYYYMM"));
        return Integer.valueOf(zq);
    }

    public static void main(String [] args) {
        System.out.println(getAccountDate());
    }

}